package entity;

/**
 * @author wuyunbin
 */
public class Status {
    private boolean flag;
    private Integer code;
    private String msg;

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Status() {
        super();
    }

    public Status(boolean flag, Integer code) {
        this.flag = flag;
        this.code = code;
    }

    public Status(boolean flag, Integer code, String msg) {
        this.flag = flag;
        this.code = code;
        this.msg = msg;
    }
}
